package c.d.a.a.d;

import java.text.DecimalFormat;

/* compiled from: DefaultAxisValueFormatter */
public class a extends e {
    public DecimalFormat a;
    public int b;

    public a(int i) {
        this.b = i;
        StringBuffer stringBuffer = new StringBuffer();
        for (int i2 = 0; i2 < i; i2++) {
            if (i2 == 0) {
                stringBuffer.append(".");
            }
            stringBuffer.append("0");
        }
        StringBuilder g = c.b.a.a.a.g("###,###,###,##0");
        g.append(stringBuffer.toString());
        this.a = new DecimalFormat(g.toString());
    }

    public String a(float f) {
        return this.a.format((double) f);
    }
}
